package com.lestv.util;


/**
 * 上传的文件
 * @author Administrator
 *
 */
public class FormFile {
	private byte[] data;
	private String filname;
	private String formname;
	private String contentType="image/jpeg";
	
	
	
	public FormFile(byte[] data, String filname, String formname,
			String contentType) {
		super();
		this.data = data;
		this.filname = filname;
		this.formname = formname;
		if(contentType!=null){
			this.contentType = contentType;
		}
		
	}
	public byte[] getData() {
		return data;
	}
	public void setData(byte[] data) {
		this.data = data;
	}
	public String getFilname() {
		return filname;
	}
	public void setFilname(String filname) {
		this.filname = filname;
	}
	public String getFormname() {
		return formname;
	}
	public void setFormname(String formname) {
		this.formname = formname;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	
	

}
